/*$(document).ready(function () {
   */

$(document).ready(function () {
    $("body").on('click',".weixinAudio",function (index) {

      var audio = $(this).find("#media")[0];
      if (audio.paused) {
          // 开始播放当前点击的音频
          audio.play();
              $(this).find('#audio_area').find("span").find('.audio_play_area').find(".icon_audio_playing").css("-webkit-animation","audio_playing 1s infinite")
       /*   $('.icon_audio_playing').css("-webkit-animation","audio_playing 1s infinite")*/
        //  $('#audio_area').addClass("playing");
          $(this).find('#audio_area').addClass("playing");
      } else {
          audio.pause();
          $(this).find('#audio_area').removeClass("playing");
      }

  });

});